package top.continew.admin.system.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "处理待办事项请求")
public class ProcessTodoReq {
    @Schema(description = "待办事项ID", example = "1")
    private Long id;

    @Schema(description = "处理状态", example = "2")
    private Integer status;

    @Schema(description = "处理备注", example = "已处理完成")
    private String notes;

    @Schema(description = "附件列表")
    private List<AttachmentInfo> attachments;

    @Schema(description = "是否需要样品", example = "true")
    private Boolean needSample;

    @Schema(description = "邮寄地址")
    private String mailingAddress;

    @Data
    @Schema(description = "附件信息")
    public static class AttachmentInfo {
        @Schema(description = "文件名", example = "document.pdf")
        private String fileName;

        @Schema(description = "文件链接", example = "http://example.com/file.pdf")
        private String fileUrl;
    }
}
